package main

import (
	"fmt"
)

type Person struct {
	Age int
}

type Student struct {
	Age int
}

type Stu Student

func main() {
	var p Person = Person{10}
	var s Student = Student{5}

	s = Student(p)

	fmt.Println(s)
	fmt.Println(p)

	var s2 Stu = Stu{6}
	s = Student(s2)
	fmt.Println(s)
	fmt.Println(s2)
}